package com.homework04;

import java.util.Random;

/*
某公司开发部5名开发人员，要进行项目进展汇报演讲，现在采取随机排名后进行汇报。
已知开发人员存放在数组中
String[] arr = { "张三", "李四", "王五", "赵六", "田七" };
*/
public class work05 {
    public static void main(String[] args) {
        String[] arr = {"张三", "李四", "王五", "赵六", "田七"};
        Random random = new Random();
        int index = random.nextInt(0, 5);
        System.out.print("随机生成" + arr[index] + "同志进行汇报！");
    }
}
